Police: Ex-UCF student planned mass shooting before killing himself