Comprehensive assessment of the preparation conditions of a separable magnetic nanocatalyst for biodiesel production from algae